import http from 'http'
const server = http.createServer(
    (req,res) => {
        if(req.url=='/about') {
            res.end('about us')
            return 
        }
        res.setHeader('Set-Cookie',
            ['type=ninja','language=javascript'])
        res.end('hello world')
    }
)
server.listen(3000)